import 'package:fish_redux/fish_redux.dart';

enum SocialLoginAction { action, onLogin, onWeixin, onAgree, onPrivate }

class SocialLoginActionCreator {
  static Action onAction() {
    return const Action(SocialLoginAction.action);
  }

  static Action onLogin() {
    return const Action(SocialLoginAction.onLogin);
  }

  static Action onWeixin() {
    return const Action(SocialLoginAction.onWeixin);
  }

  static Action onAgree() {
    return const Action(SocialLoginAction.onAgree);
  }

  static Action onPrivate() {
    return const Action(SocialLoginAction.onPrivate);
  }
}
